<html>

<head>
<title>sample-jquery - JQuery - basic</title>
<script type="text/javascript" src="/sample-jquery/view/layout/jquery-1.2.6.js"></script>

<script type="text/javascript">
$(document).ready(function(){
 $("a").addClass("test");
 
 $("a").click(function(event){
   //alert("As you can see, the link no longer took you to jquery.com");
   event.preventDefault();
   $(this).hide("slow");
 });
});
</script>

<style type="text/css">
	a.test { font-weight: bold; }
</style>

</head>

<body>

<a href="http://jquery.com/">jQuery</a>

</body>



